home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’97 / Warrior’s Progress / source code / Source / Libraries / Drawing / QuickDrawUser.cp < prev    next >
Encoding:
Text File  |  1997-06-28  |  283 b   |  20 lines  |  [TEXT/CWIE]

  1. // QuickDrawUser.cp
  2.  
  3. #ifndef QuickDrawUser_h
  4. #include "QuickDrawUser.h"
  5. #endif
  6. #ifndef Integers_h
  7. #include "Integers.h"
  8. #endif
  9.  
  10. QuickDrawUser::QuickDrawUser()
  11.   {
  12.     static bool initialized = false;
  13.     
  14.     if ( !initialized )
  15.       {
  16.         InitGraf( &qd.thePort );
  17.         initialized = true;
  18.       }
  19.   }
  20.